package com.lj.ljminsu.wk.service.Impl;

import com.lj.ljminsu.wk.bean.AddHouseBean;
import com.lj.ljminsu.wk.bean.CreateHouseBean;
import com.lj.ljminsu.wk.dao.CreateHouseDao;
import com.lj.ljminsu.wk.service.ICreateHouseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CreateHouseServiceImpl implements ICreateHouseService {

    @Resource
    private CreateHouseDao createHouseDao;

    @Override
    public void addHouse(AddHouseBean addHouseBean) {
        createHouseDao.addHouse(addHouseBean);
    }

//    @Override
//    public void addHouse(CreateHouseBean createHouseBean) {
//        createHouseDao.addHouse(createHouseBean);
//    }
}
